Avoid priv being flagged as unused on win32.
}
#endif
- g_warning ("Couldn't export handle, unsupported windowing system");
+ g_warning ("Couldn't export handle for %s surface, unsupported windowing system",
+ G_OBJECT_TYPE_NAME (priv->surface));
return FALSE;
}
if (GDK_IS_WAYLAND_DISPLAY (gtk_widget_get_display (GTK_WIDGET (window))))
{
gdk_wayland_surface_unexport_handle (priv->surface);
+ return;
}
#endif
+
+ g_warning ("Couldn't unexport handle for %s surface, unsupported windowing system",
+ G_OBJECT_TYPE_NAME (priv->surface));
}
static void